/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BackingBeans;

import ModelBeans.UsersModelBean;
import Users.User;
import java.io.Serializable;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author xiph
 */
@ManagedBean
@RequestScoped
public class UsersBackingBean implements Serializable {

	@ManagedProperty(value="#{usersModelBean}")
	private UsersModelBean umb;
	
	public UsersBackingBean() {
	}
	
	public List<User> getUsers()
	{
		return umb.getUser();
	}

	public UsersModelBean getUmb() {
		return umb;
	}

	public void setUmb(UsersModelBean umb) {
		this.umb = umb;
	}
}
